package com.xdl.moudle.shiro.dao;

import java.util.List;

import com.xdl.moudle.shiro.domain.Role;

public interface RoleDao {
    int deleteByPrimaryKey(String id);

    int insert(Role record);

    int insertSelective(Role record);

    Role selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Role record);

    int updateByPrimaryKey(Role record);
    
    List<Role> queryRoleByUid(String uid);
}